#ifndef DBSRCDIALOG_H
#define DBSRCDIALOG_H

#include <QDialog>
#include <QMessageBox>
#include <QFileDialog>
#include <QSettings>
#include <QSqlDatabase>
namespace Ui {
    class DbSrcDialog;
}

class DbSrcDialog : public QDialog {
    Q_OBJECT
public:
    DbSrcDialog(QWidget *parent = 0);
    ~DbSrcDialog();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::DbSrcDialog *ui;
    QString dbfname;
private slots:
    void on_pushButton_clicked();
    void on_buttonBox_accepted();
};

#endif // DBSRCDIALOG_H
